home *** CD-ROM | disk | FTP | other *** search
- Path: access4.digex.net!not-for-mail
- From: ell@access4.digex.net (Ell)
- Newsgroups: comp.lang.c++
- Subject: Re: question about isolation of data in other
- Date: 7 Feb 1996 05:25:10 GMT
- Organization: The Universe
- Message-ID: <4f9d3m$2gc@news4.digex.net>
- NNTP-Posting-Host: access4.digex.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- From news3.digex.net!access1.digex.net!not-for-mail Wed Feb 7 00:07:40 1996
- Path: news3.digex.net!access1.digex.net!not-for-mail
- From: ell@access1.digex.net (Ell)
- Newsgroups: comp.object
- Subject: Re: question about isolation of data in other than abstract class...
- Date: 7 Feb 1996 03:42:20 GMT
- Organization: The Universe
- Lines: 15
- Message-ID: <4f972s$pe@news4.digex.net>
- References: <4dgujl$89n@netlab.cs.rpi.edu> <4f7b10$ckn@newsource.ihug.co.nz>
- NNTP-Posting-Host: access1.digex.net
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Edward Sargisson (sarge@ihug.co.nz) wrote:
- : ejh@larry.gsfc.nasa.gov (Edward Hartnett) wrote:
- :
- : >One thing I keep seeing implied is that abstract classes should, as a
- : >rule, hold only pure virtual functions (i.e the interface, not the
- : >implementation).
-
- : Abstract Base Classes (ABCs) by definition contain only pure virtual
- : (in C++) functions...
-
- A C++ ABC may contain as many concrete methods as you want. It is
- only required for a _single_ method of the class to be a pure virtual
- for the class to be an ABC.
-
- Elliott
-
-